package com.tanhua.model.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "focus_user")
public class Focus implements Serializable {
    private ObjectId id;
    private Long userId;//关注用户的id
    private Long toUserId;//被关注用户
    private String createDate;//什么时候关注的
}
